//
//  UILabelF.m
//  ceshiNET
//
//  Created by mk on 15/8/18.
//  Copyright (c) 2015年 mk. All rights reserved.
//

#import "UILabelF.h"

@implementation UILabelF

/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect {
    // Drawing code
}
*/
-(instancetype)initWithFrame:(CGRect)frame{
    self = [super initWithFrame:frame];
    if (self) {
        
//        UIView *line1 = [[UIView alloc]initWithFrame:CGRectMake(0, 0, self.frame.size.width, 0.5)];
//        [self addSubview:line1];
//        line1.backgroundColor = [UIColor grayColor];
        
        self.Tlabel = [[UILabel alloc]initWithFrame:CGRectMake(10, 0, self.frame.size.width / 4 , self.frame.size.height)];
        [self addSubview:self.Tlabel];
        
        self.testF = [[UITextField alloc]initWithFrame:CGRectMake(self.frame.size.width / 3, 0,3 * self.frame.size.width / 4, self.frame.size.height)];
        [self addSubview:self.testF];
        
        self.lineView = [[UIView alloc]initWithFrame:CGRectMake(0, self.frame.size.height - 0.5 , self.frame.size.width, 0.5)];
        self.lineView.backgroundColor = [UIColor grayColor];
        [self addSubview:self.lineView];
    }
    return self;
}
@end
